﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using OF.Utility;

namespace User.Api.Common
{
    public class BizException:BusinessException
    {
        public BizException(string errorText) : base(errorText)
        {
        }

        public BizException(int errorCode, string errorText) : base(errorCode, errorText)
        {
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="errorCode">错误信息代码</param>
        public BizException(StatusCodeEnum errorCode) : base((int) errorCode, errorCode.GetEnumText())
        {
            
        }
    }
}